Affiliate API - Search Locality( searchLocality )

Navigate to Affiliate API

Details

  • CustomActionName search-locality
  • Name Search Locality
  • Description Find localities for a specified request.
  • MethodGroup Content Service

Parameters

  • q
    Type String
    Example <a class="showCode" href="/api/search-locality?q=lak&webid=45">/api/search-locality?q=lak&webid=45</a>
    Example <a class="showCode" href="/api/search-locality?q=373224&webid=45">/api/search-locality?q=373224&webid=45</a>
  • sub
    Type Boolean
    Example <a class="showCode" href="/api/search-locality?q=lake&sub=true&webid=45">/api/search-locality?q=lake&sub=true&webid=45</a>
  • increqhotels
    Type Boolean
    Example <a class="showCode" href="/api/search-locality?q=lake&sub=true&increqhotels=true&webid=45">/api/search-locality?q=lake&sub=true&increqhotels=true&webid=45</a>
  • cb
    Type String
    Example <a class="showCode" href="/api/search-locality?q=lake&sub=true&webid=45&increqhotels=true&cb=jsonp33465">/api/search-locality?q=lake&sub=true&webid=45&increqhotels=true&cb=jsonp33465</a>
  • webid
    Type Int32
    Description The affiliate id for the message you are requesting.
    Required true
  • callback
    Type String
    Description Define a callback function for cross-site ajax
  • IgnoreCache
    Type Boolean
  • ShowError
    Type Boolean

Faults

  • Name Affiliate Json Result Empty
    Type <a href="/ui/Show?name=Affiliate Json Result Empty">JsonpResultEmpty</a>